﻿@model OMS.Models.LoginModel

@{
    ViewBag.Title = "Order Manadement System";
    Layout = "~/Views/Shared/_LoginPage.cshtml";
}
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()

  <section class="container">
    <div class="login">
      <h1>Order Management System</h1>
           <div class="validation-message">@Html.ValidationSummary(true)</div>  

        <p>@Html.TextBoxFor(m => m.UserName, new { @placeholder = "User Name"})</p>
           <div class="validation-message">@Html.ValidationMessageFor(m => m.UserName)</div>

        <p>@Html.PasswordFor(m => m.Password, new { @placeholder = "Password"})</p>
           <div class="validation-message">@Html.ValidationMessageFor(m => m.Password)</div>

        <p class="remember_me">@Html.CheckBoxFor(m => m.RememberMe) Remember</p>

        <p class="submit"><input type="submit" name="commit" value="Log in"></p>

    </div>

  </section>
}